//
//  SEChatTimeCell.swift
//  SmartEyeForPatient
//
//  Created by QDSG on 2021/5/6.
//

import UIKit

class SEChatTimeCell: UITableViewCell {

    override func awakeFromNib() {
        super.awakeFromNib()
        selectionStyle = .none
        backgroundColor = .clear
        contentView.backgroundColor = .clear
    }
    
    func update(with viewModel: SEChatViewModel) {
        timeLabel.text = viewModel.chatRecord.content
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    @IBOutlet private weak var timeLabel: UILabel!
}
